Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for gym problems #513

Merged
merged 1 commit into from
Dec 22, 2024
Merged

Conversation

rewhile
Copy link
Contributor

@rewhile rewhile commented Dec 20, 2024

This PR adds short name support for gym problems (E.x. https://codeforces.com/gym/105540/problem/F)

It also changes the code to use regex instead of split, which fixes an issue when parsing a problem url with parameters (E.x. https://codeforces.com/contest/2048/problem/I2?locale=en will end up with 2048I2?locale=en instead of 2048I2)

Before After
image image
image image

@rewhile rewhile force-pushed the codeforces branch 3 times, most recently from 392918b to 08f173b Compare December 20, 2024 03:21
@agrawal-d agrawal-d merged commit cbf9124 into agrawal-d:main Dec 22, 2024
4 checks passed
@rewhile rewhile deleted the codeforces branch December 22, 2024 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants